Completely remove stringp check in special-display-p.
authormartin rudalics <rudalics@gmx.at>
Mon, 18 Jun 2012 06:22:22 +0000 (08:22 +0200)
committermartin rudalics <rudalics@gmx.at>
Mon, 18 Jun 2012 06:22:22 +0000 (08:22 +0200)
* window.el (special-display-p): Completely remove stringp
check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.

lisp/ChangeLog
lisp/window.el

index 45946d47819a0960c96c0aeca62680f10481dc9c..e32e1611d89983c917547f910f2e9d4f00c73335 100644 (file)
@@ -1,3 +1,8 @@
+2012-06-18  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (special-display-p): Completely remove stringp
+       check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
+
 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
 
        * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
index 62cd226daec31a3ab207cd26e3f904e614196511..6ea882d1ea213de73fc3b442706d65111e4f4830 100644 (file)
@@ -4192,8 +4192,6 @@ or matches BUFFER-NAME, the return value is the cdr of that
 entry."
   (let (tmp)
     (cond
-     ((not (stringp buffer-name))
-      (error "Invalid buffer name %s" buffer-name))
      ((member buffer-name special-display-buffer-names)
       t)
      ((setq tmp (assoc buffer-name special-display-buffer-names))